package com.examination.to.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * auther:FC
 * date:2021/5/11  21:18
 */


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Question implements Serializable {

    public static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "对应考试的id",example = "1")
    private Integer examid;

    @ApiModelProperty(value = "主键 题目id", example = "1")
    private Integer id;

    @ApiModelProperty(value = "问题内容", example = "1+1等于几")
    private String qucontent;

    @ApiModelProperty(value = "创建时间", example = "2020-10-24 14:58")
    private Date createtime;

    @ApiModelProperty(value = "创建人的username", example = "wzz")
    private String createperson;

    @ApiModelProperty(value = "问题类型", example = " 1单选 2多选 3判断 4填空 5考生信息 6简答")
    private Integer qutype;

    @ApiModelProperty(value = "问题难度", example = "1")
    private Integer level;

    @ApiModelProperty(value = "问题相关的图片", example = "imageUrl")
    private String image;

//    @ApiModelProperty(value = "所属题库的id", example = "1,2")
//    private String qubankid;
//
//    @ApiModelProperty(value = "所属题库的名称", example = "小学题库")
//    private String qubankname;

    @ApiModelProperty(value = "题目解析", example = "题目解析")
    private String analysis;

    @ApiModelProperty(value = "单题分数",example = "3")
    private Integer score;

    @ApiModelProperty(value = "考生信息",example = "姓名，性别，年级，班级，专业")
    private String stuinfo;

}
